<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>行政强制行为</title>
    <script src="../../../js/header.js"></script>
    <style>
        html,body,body>div{
            overflow: hidden;
        }
        #unitEntrance{
            margin: 0;
            padding: 0;
        }
        .tab-title{
            font-size: 16px;
            font-weight: bold;
            border-left: 4px solid #0D9AFF;
            font-family: PingFangSC-Medium;
            padding-left:10px;
            margin-bottom: 20px;
        }
        .el-input__inner {
            -webkit-appearance: none;
            background-color: #FFF;
            background-image: none;
            border-radius: 4px;
            border: 1px solid #DCDFE6;
            -webkit-box-sizing: border-box;
            box-sizing: border-box;
            color: #606266;
            display: inline-block;
            font-size: inherit;
            height: 30px;
            line-height: 30px;
            outline: 0;
            padding: 0 15px;
            -webkit-transition: border-color .2s cubic-bezier(.645,.045,.355,1);
            transition: border-color .2s cubic-bezier(.645,.045,.355,1);
        }
    </style>
</head>
<body>
<div id="firstpage" style="overflow: hidden;">
    <el-row type="flex" justify="center" style="margin-top: 25px;">
        <el-col :span="15">
            <el-row :gutter="20">
                <el-col >
                    <el-breadcrumb separator-class="el-icon-arrow-right" style="margin-top: 10px;">
                        <el-breadcrumb-item :to="{ path: '/' }"  @click.native="gobackmain()">首页</el-breadcrumb-item>
                        <el-breadcrumb-item :to="{ path: '/' }" >行政强制行为</el-breadcrumb-item>
                    </el-breadcrumb>
                    <div class="search-tab">
                        <el-tabs v-model="Title" >
                            <el-form :model="selectForm" :rules="rules" ref="selectForm" label-width="140px" style="margin-top: 10px;">
                                <el-row>
                                    <el-col :span="8">
                                        <el-form-item label="监管事项目录编码:" prop="" label-width="130px">
                                            <el-input v-model="selectForm.superviseId" placeholder="" ></el-input>
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="8">
                                        <el-form-item label="强制行为名称:" prop="" label-width="130px">
                                            <el-input v-model="selectForm.forceActionName" placeholder="" ></el-input>
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="8">
                                        <el-form-item label="实施机构:" prop="" label-width="130px">
                                            <el-input v-model="selectForm.implementInstitution" ></el-input>
                                        </el-form-item>
                                    </el-col>
                                </el-row>

                                <el-row>
                                    <div style="float: right;">
                                        <el-button type="primary" size="small" style="width: 60px;height: 30px;" @click="searchForm()">查询</el-button>
                                        <el-button type="warning" size="small" style="width: 60px;height: 30px;" @click="resetForm()">重置</el-button>
                                    </div>
                                </el-row>
                            </el-form>
                            <el-table :data="tableData"  max-height="850" :ref = "multipleTable" @selection-change="handleSelectionChange" border style="width: 100%; margin-top: 10px;" :header-cell-style="{background:'#eef1f6',color:'#606266'}">
                                <el-table-column type="selection" ></el-table-column>
                                <el-table-column
                                        type="index"
                                        label="序号"
                                        width="50"
                                        align="center">
                                </el-table-column>
                                <el-table-column
                                        prop="recordUniqueIdentity"
                                        label="记录唯一标识"
                                        width="150"
                                        align="center" >
                                </el-table-column>
                                <el-table-column
                                        prop="superviseId"
                                        label="监管事项目录编码"
                                        width="140"
                                        align="center" >
                                </el-table-column>
                                <el-table-column
                                        prop="forceActionName"
                                        label="强制行为名称"
                                        width="160"
                                        align="center">
                                </el-table-column>
                                <el-table-column
                                        prop="forceActionCode"
                                        label="强制行为编号"
                                        width="150"
                                        align="center">
                                </el-table-column>
                                <el-table-column
                                        prop="implementInstitution"
                                        label="实施机构"
                                        width="150"
                                        align="center">
                                </el-table-column>
                                <el-table-column label="操作" align="center" width="">
                                    <template slot-scope="scope" fixed="right">
                                        <el-button class="look" size="mini" @click="checkContent(scope.$index,scope.row)">查看</el-button>
                                    </template>
                                </el-table-column>
                            </el-table>
                            <div style="overflow: hidden;" justify="center">
                                <div class="pagination">
                                    <el-pagination
                                            @size-change="handleSizeChange"
                                            @current-change="handleCurrentChange"
                                            :current-page="currentPage"
                                            :page-sizes="[10, 20, 30, 40]"
                                            :page-size="pagesize"
                                            background
                                            layout="total, sizes,prev, pager, next"
                                            :total="tableTotal"
                                            prev-text="上一页"
                                            next-text="下一页">
                                    </el-pagination>
                                    <el-button type="primary" size="mini" @click="appovalExByIds()" style="margin-left: 20px;float: right;">导出</el-button>
                                    <el-button type="primary" size="mini" @click="appovalEx()" style="float: right;">批量导出</el-button>
                                </div>
                            </div>
                            <el-dialog title="" :visible.sync="dialogForm" center fullscreen >
                                <el-row type="flex" justify="center" style="margin-top: 15px;">
                                    <el-col :span="15">
                                        <el-form :model="force" :prop="force"  label-width="150px">
                                            <!--监管信息表（行政强制行为）信息表-->
                                            <el-row>
                                                <el-col :span="10" class="tab-title">
                                                    行政强制行为信息表
                                                </el-col>
                                            </el-row>
                                            <el-row>
                                                <el-col :span="10">
                                                    <el-form-item label="记录唯一标识:" prop="recordUniqueIdentity">
                                                        <el-tooltip class="item" effect="dark" content="取值应符合GB/T 17969.8-2010的要求" placement="top-start">
                                                            <el-input v-model="force.recordUniqueIdentity" placeholder="" disabled></el-input>
                                                        </el-tooltip>
                                                    </el-form-item>
                                                </el-col>
                                                <el-col :span="10">
                                                    <el-form-item label="监管事项目录编码:" prop="superviseId">
                                                        <el-tooltip class="item" effect="dark" content="可填多项，准确关联监管事项编码" placement="top-start">
                                                            <el-input v-model="force.superviseId" placeholder="" disabled></el-input>
                                                        </el-tooltip>
                                                    </el-form-item>
                                                </el-col>
                                            </el-row>
                                            <el-row>
                                                <el-col :span="10">
                                                    <el-form-item label="强制行为名称:" prop="forceActionName">
                                                        <el-input v-model="force.forceActionName" placeholder="" disabled></el-input>
                                                    </el-form-item>
                                                </el-col>
                                                <el-col :span="10">
                                                    <el-form-item label="强制行为编号:" prop="forceActionCode">
                                                        <el-tooltip class="item" effect="dark" content="行为编号须是唯一编号，可在已有办件编号前加18位实施机构的统一社会信用代码" placement="top-start">
                                                            <el-input v-model="force.forceActionCode" placeholder="" disabled></el-input>
                                                        </el-tooltip>
                                                    </el-form-item>
                                                </el-col>
                                            </el-row>
                                            <el-row>
                                                <el-col :span="10">
                                                    <el-form-item label="实施机构:" prop="implementInstitution">
                                                        <el-input v-model="force.implementInstitution" placeholder="" disabled></el-input>
                                                    </el-form-item>
                                                </el-col>
                                                <el-col :span="10">
                                                    <el-form-item label="实施机构编码:" prop="implementInstitutionCode">
                                                        <el-tooltip class="item" effect="dark" content="统一社会信用代码" placement="top-start">
                                                            <el-input v-model="force.implementInstitutionCode" placeholder="" disabled></el-input>
                                                        </el-tooltip>
                                                    </el-form-item>
                                                </el-col>
                                            </el-row>
                                            <el-row>
                                                <el-col :span="10">
                                                    <el-form-item label="监管对象:" prop="superviseObject">
                                                        <el-tooltip class="item" effect="dark" content="1、企业、个体户、农专社，填写为企业统一社会信用代码；
																								2、自然人时，填写身份证号；
																								3、特种设备时，填写生产企业统一社会信用代码#产品品牌#出厂日期
																								4、为特定产品（食品）时，填写生产企业统一社会信用代码#生产批号
																								5、为特定产品（三种特殊食品）时，填写生产企业统一社会信用代码#生产批号
																								6、特定产品为药品时，填写生产企业统一社会信用代码#生产许可证编号#生产批号
																								7、特定产品为化妆品时，填写生产企业统一社会信用代码#生产许可证编号#生产批号
																								8、特定产品为医疗器械时，填写生产企业统一社会信用代码#注册证编号#生产批号
																								9、为场地场所时，填写场地场所名称#所在地区" placement="top-start">
                                                            <el-input v-model="force.superviseObject" placeholder="" disabled></el-input>
                                                        </el-tooltip>
                                                    </el-form-item>
                                                </el-col>
                                                <el-col :span="10">
                                                    <el-form-item label="检查行为编号:" prop="checkActionCode">
                                                        <el-input v-model="force.checkActionCode" placeholder="" disabled></el-input>
                                                    </el-form-item>
                                                </el-col>
                                            </el-row>
                                            <el-row>
                                                <el-col :span="10">
                                                    <el-form-item label="行政相对人（单位/个人）:" prop="administrativeCp">
                                                        <el-tooltip class="item" effect="dark" content="与行政主体对应的另一方当事人，监管责任最终的承担者" placement="top-start">
                                                            <el-input v-model="force.administrativeCp" placeholder="" disabled></el-input>
                                                        </el-tooltip>
                                                    </el-form-item>
                                                </el-col>
                                                <el-col :span="10">
                                                    <el-form-item label="行政相对人性质:" prop="administrativeCpNa">
                                                        <el-input v-model="force.administrativeCpNa" placeholder="" disabled></el-input>
                                                    </el-form-item>
                                                </el-col>
                                            </el-row>
                                            <el-row>
                                                <el-col :span="10">
                                                    <el-form-item label="行政相对人证件类型:" prop="administrativeCpCeType">
                                                        <el-input v-model="force.administrativeCpCeType" placeholder="" disabled></el-input>
                                                    </el-form-item>
                                                </el-col>
                                                <el-col :span="10">
                                                    <el-form-item label="行政相对人(单位/个人)编码:" prop="administrativeCpUiCode">
                                                        <el-tooltip class="item" effect="dark" content="如是单位则填写该单位统一社会信用代码，如是个人则填写相应的证件号码等" placement="top-start">
                                                            <el-input v-model="force.administrativeCpUiCode" placeholder="" disabled></el-input>
                                                        </el-tooltip>
                                                    </el-form-item>
                                                </el-col>
                                            </el-row>
                                            <el-row>
                                                <el-col :span="10">
                                                    <el-form-item label="注册地址:" prop="addressRegistered">
                                                        <el-input v-model="force.addressRegistered" placeholder="" disabled></el-input>
                                                    </el-form-item>
                                                </el-col>
                                                <el-col :span="10">
                                                    <el-form-item label="经营地址:" prop="addressOperating">
                                                        <el-input v-model="force.addressOperating" placeholder="" disabled></el-input>
                                                    </el-form-item>
                                                </el-col>
                                            </el-row>
                                            <el-row>
                                                <el-col :span="10">
                                                    <el-form-item label="行政区划代码:" prop="areaNumber">
                                                        <el-input v-model="force.areaNumber" placeholder="" disabled></el-input>
                                                    </el-form-item>
                                                </el-col>
                                                <el-col :span="10">
                                                    <el-form-item label="违法事实:" prop="illEgalFact">
                                                        <el-input v-model="force.illEgalFact" placeholder="" disabled></el-input>
                                                    </el-form-item>
                                                </el-col>
                                            </el-row>
                                            <el-row>
                                                <el-col :span="10">
                                                    <el-form-item label="强制依据:" prop="forceAccord">
                                                        <el-tooltip class="item" effect="dark" content="实施本次强制时对应的法律法规" placement="top-start">
                                                            <el-input v-model="force.forceAccord" placeholder="" disabled></el-input>
                                                        </el-tooltip>
                                                    </el-form-item>
                                                </el-col>
                                                <el-col :span="10">
                                                    <el-form-item label="强制决定书号:" prop="mandatoryDecisionNumber">
                                                        <el-input v-model="force.mandatoryDecisionNumber" placeholder="" disabled></el-input>
                                                    </el-form-item>
                                                </el-col>
                                            </el-row>
                                            <el-row>
                                                <el-col :span="10">
                                                    <el-form-item label="行政强制种类:" prop="forceType">
                                                        <el-input v-model="force.forceType" placeholder="" disabled></el-input>
                                                    </el-form-item>
                                                </el-col>
                                                <el-col :span="10">
                                                    <el-form-item label="强制措施类型:" prop="coerciveMeasureType">
                                                        <el-input v-model="force.coerciveMeasureType" placeholder="" disabled></el-input>
                                                    </el-form-item>
                                                </el-col>
                                            </el-row>
                                            <el-row>
                                                <el-col :span="10">
                                                    <el-form-item label="强制执行类型:" prop="forceExecutionType">
                                                        <el-input v-model="force.forceExecutionType" placeholder="" disabled></el-input>
                                                    </el-form-item>
                                                </el-col>
                                                <el-col :span="10">
                                                    <el-form-item label="强制结果:" prop="mandatoryDecisionPatify">
                                                        <el-tooltip class="item" effect="dark" content="如1、发现问题采取限制公民人身自由，查封场所、设施或者财物，扣押财物，冻结存款、汇款，其他行政强制措施等强制措施；2、在发现的问题得到及时整改后，依法做出解除相应强制措施的监管结果。" placement="top-start">
                                                            <el-input v-model="force.mandatoryDecisionPatify" placeholder="" disabled></el-input>
                                                        </el-tooltip>
                                                    </el-form-item>
                                                </el-col>
                                            </el-row>
                                            <el-row>
                                                <el-col :span="10">
                                                    <el-form-item label="实施强制措施的起始时间:" prop="mandatoryDecisionSevDate">
                                                        <el-date-picker type="date" placeholder="选择日期" v-model="force.mandatoryDecisionSevDate" value-format="yyyy-MM-dd" disabled style="width: 100%;">
                                                        </el-date-picker>
                                                    </el-form-item>
                                                </el-col>
                                                <el-col :span="10">
                                                    <el-form-item label="实施强制措施的结束时间:" prop="endDate">
                                                        <el-date-picker type="date" placeholder="选择日期" v-model="force.endDate" value-format="yyyy-MM-dd" disabled style="width: 100%;">
                                                        </el-date-picker>
                                                    </el-form-item>
                                                </el-col>
                                            </el-row>
                                            <el-row>
                                                <el-col :span="10">
                                                    <el-form-item label="强制措施延长期限:" prop="forceExtendDate">
                                                        <el-input v-model="force.forceExtendDate" placeholder="" disabled></el-input>
                                                    </el-form-item>
                                                </el-col>
                                                <el-col :span="10">
                                                    <el-form-item label="数据来源:" prop="dataForm">
                                                        <el-tooltip class="item" effect="dark" content="数据来源由三位数字组成。第1位写0或者1，0代表应急管理部部本级，1代表地方。
																								第1位填写0时，第2、3位填写“部本级业务系统”代码集中对应的代码；
																								第1位填写1时，第2、3位填写“行政区划代码”代码集中对应的代码" placement="top-start">
                                                            <el-input v-model="force.dataForm" placeholder="" disabled></el-input>
                                                        </el-tooltip>
                                                    </el-form-item>
                                                </el-col>
                                            </el-row>
                                            <el-row>
                                                <el-col :span="10">
                                                    <el-form-item label="报送时间:" prop="submittedDate">
                                                        <el-date-picker type="date" placeholder="选择日期" v-model="force.submittedDate" value-format="yyyy-MM-dd" disabled style="width: 100%;">
                                                        </el-date-picker>
                                                    </el-form-item>
                                                </el-col>
                                                <el-col :span="10">
                                                    <el-form-item label="报送人员:" prop="submittedPersonnel">
                                                        <el-input v-model="force.submittedPersonnel" placeholder="" disabled></el-input>
                                                    </el-form-item>
                                                </el-col>
                                            </el-row>
                                            <el-row>
                                                <el-col :span="10">
                                                    <el-form-item label="插入时间:" prop="insertDate">
                                                        <el-date-picker type="date" placeholder="选择日期" v-model="force.insertDate" value-format="yyyy-MM-dd" disabled style="width: 100%;">
                                                        </el-date-picker>
                                                    </el-form-item>
                                                </el-col>
                                                <el-col :span="10">
                                                    <el-form-item label="来源:" prop="inFrom">
                                                        <el-tooltip class="item" effect="dark" content="来源（省份区划代码|部门编码）" placement="top-start">
                                                            <el-input v-model="force.inFrom" placeholder="" disabled></el-input>
                                                        </el-tooltip>
                                                    </el-form-item>
                                                </el-col>
                                            </el-row>
                                            <el-row>
                                                <el-col :span="10">
                                                    <el-form-item label="批次号:" prop="batchNumber">
                                                        <el-input v-model="force.batchNumber" placeholder="" disabled></el-input>
                                                    </el-form-item>
                                                </el-col>
                                                <el-col :span="10">
                                                    <el-form-item label="同步类型:" prop="type">
                                                        <el-select v-model="force.type" placeholder="请选择同步类型" disabled  style="width: 100%;">
                                                            <el-option label="I-插入" value="1"></el-option>
                                                            <el-option label="U-更新" value="2"></el-option>
                                                            <el-option label="D-删除" value="3"></el-option>
                                                        </el-select>
                                                    </el-form-item>
                                                </el-col>
                                            </el-row>
                                            <el-row>
                                                <el-col :span="22">
                                                    <div style="float:right">
                                                        <el-button type="info" size="small" style="width: 60px;height: 30px;" @click="dialogForm = false;clearForm()">取消</el-button>
                                                    </div>
                                                </el-col>
                                            </el-row>
                                        </el-form>
                                    </el-col>
                                </el-row>
                            </el-dialog>
                            </el-tab-pane>
                        </el-tabs>
                    </div>
                </el-col>
            </el-row>
        </el-col>
    </el-row>
</div>
</body>
<script>
    var firstpage = new Vue({
        el: '#firstpage',
        data() {
            return {
                dialogForm: false,
                currentPage: 1, //默认显示页面为1
                pagesize: 10, // 每页的数据条数
                tableTotal:'',
                force: {
                    forceId: '',
                    recordUniqueIdentity: '',
                    superviseId: '',
                    forceActionName: '',
                    forceActionCode: '',
                    implementInstitution: '',
                    implementInstitutionCode: '',
                    superviseObject: '',
                    checkActionCode: '',
                    administrativeCp: '',
                    administrativeCpNa: '',
                    administrativeCpCeType: '',
                    administrativeCpUiCode: '',
                    addressRegistered: '',
                    addressOperating: '',
                    areaNumber: '',
                    illEgalFact: '',
                    forceAccord: '',
                    mandatoryDecisionNumber: '',
                    forceType: '',
                    coerciveMeasureType: '',
                    forceExecutionType: '',
                    mandatoryDecisionPatify: '',
                    mandatoryDecisionSevDate: '',
                    forceExtendDate: '',
                    endDate: '',
                    submittedDate: '',
                    submittedPersonnel: '',
                    insertDate: '',
                    inFrom: '',
                    batchNumber: '',
                    type: '',
                    dataForm: ''
                },
                selectForm: {
                    superviseId:'',
                    forceActionName : '',
                    implementInstitution:''
                },
                currentRow: null,
                tableData: [],
                showOnSubmit: true,
                showOnReplace: false,
                ids:'',
                multipleSelection: []
            }
        },
        created(){        },
        mounted(){
            this.getData();
        },
        methods: {
            getData() {
                axios({
                    method: 'get',
                    url: '/dzjportal/getForceAction/getAllForce',
                    params: {
                        pageSize: this.pagesize,
                        pageNo: this.currentPage
                    }
                })
                    .then(response => {
                    let data = response.data;
                if (data.code == 200) {
                    debugger;
                    let dataInformation = data.data.data.results;
                    this.tableTotal = data.data.total;// 数据长度
                    this.tableData = dataInformation;
                } else {
                    this.$message.error(data.msg);
                }
            })
            .catch(function (error) {
                    console.log(error);
                });
            },
            /* 列表页搜索 */
            searchForm() {
                axios({
                    method: 'get',
                    url: '/dzjportal/getForceAction/getAllForce',
                    params: {
                        pageSize: this.pagesize,
                        pageNo: this.currentPage,
                        superviseId :this.selectForm.superviseId.trim(),
                        forceActionName : this.selectForm.forceActionName.trim(),
                        implementInstitution : this.selectForm.implementInstitution.trim(),
                    }
                })
                    .then(response => {
                    let data = response.data;
                if (data.code == 200) {
                    let dataInformation = data.data.data.results;
                    this.tableTotal = data.data.total;// 数据长度
                    this.tableData = dataInformation;
                } else {
                    this.$message.error(data.msg);
                }
            })
            .catch(function (error) {
                    console.log(error);
                });
            },
            // 查看
            checkContent(index,row){
                this.dialogForm = true;
                this.showInformation(index,row);
            },
            gobackmain(){
                parent.mainwork.backIndex();
            },
            clearForm(){
                this.$refs.force.clearValidate();
                this.force.recordUniqueIdentity= '',
                    this.force.superviseId= '',
                    this.force.forceActionName= '',
                    this.force.forceActionCode= '',
                    this.force.implementInstitution= '',
                    this.force.implementInstitutionCode= '',
                    this.force.superviseObject= '',
                    this.force.checkActionCode= '',
                    this.force.administrativeCp='',
                    this.force.administrativeCpNa= '',
                    this.force.administrativeCpCeType= '',
                    this.force.administrativeCpUiCode= '',
                    this.force.addressRegistered= '',
                    this.force.addressOperating= '',
                    this.force.areaNumber= '',
                    this.force.illEgalFact= '',
                    this.force.forceAccord= '',
                    this.force.mandatoryDecisionNumber= '',
                    this.force.forceType= '',
                    this.force.coerciveMeasureType= '',
                    this.force.forceExecutionType= '',
                    this.force.mandatoryDecisionPatify= '',
                    this.force.mandatoryDecisionSevDate= '',
                    this.force.forceExtendDate= '',
                    this.force.endDate= '',
                    this.force.submittedDate= '',
                    this.force.submittedPersonnel= '',
                    this.force.insertDate= '',
                    this.force.inFrom= '',
                    this.force.batchNumber= '',
                    this.force.type= '',
                    this.force.dataForm= ''
            },
            /* 列表页重置 */
            resetForm() {
                this.selectForm.currentPage = 1; //默认显示页面为1
                this.selectForm.pagesize = 10; // 每页的数据条数
                this.selectForm.superviseId='',
                this.selectForm.forceActionName='',
                this.selectForm.implementInstitution='',
                this.getData();
            },
            /* 单选搜索表单 */
            selectCurrentChange(val){
                this.currentRow = val;
            },
            //每页下拉显示数据
            handleSizeChange(size) {
                this.pagesize = size;
                this.getData();
            },
            //点击第几页
            handleCurrentChange(currentPage) {
                this.currentPage = currentPage;
                this.getData();
            },
            // 公共方法--查看
            showInformation(index,row){
                axios({
                    method: 'get',
                    url: '/dzjportal/getForceAction/getById',
                    params:{
                        forceId: row.forceId
                    }
                })
                    .then(response => {
                    console.log(response.data);
                if (response.data.code == 200) {
                    debugger;
                    this.force = response.data.data.data;
                } else {
                    this.$message.error(data.msg);
                }
            }).catch(function (error) {
                    console.log(error);
                });
            },
            //批量导出
            appovalEx(){
                this.$confirm('确定要批量导出吗?', '提示', {
                    cancelButtonText: '取消',
                    confirmButtonText: '确定',
                    type: 'warning'
                }).then(() => {
                    window.location.href="/dzjportal/getForceAction/exportAll?superviseId="+this.selectForm.superviseId+"&forceActionName="
                    +this.selectForm.forceActionName+"&implementInstitution="
                    +this.selectForm.implementInstitution;
            }).catch(() => {
                    this.$message({
                    type: 'info',
                    message: '取消导出'
                });
            });
            },
            handleSelectionChange(val) {
                //val 为选中数据的集合
                this.multipleSelection = val;
            },
            //导出
            appovalExByIds(){
                debugger;
                if(this.multipleSelection.length >0){
                    this.ids = this.multipleSelection.map(function(multipleSelection,index){
                        return multipleSelection.forceId;
                    }).join(",");
                    this.$confirm('确定要导出所选数据吗?', '提示', {
                        cancelButtonText: '取消',
                        confirmButtonText: '确定',
                        type: 'warning'
                    }).then(() => {
                        window.location.href="/dzjportal/getForceAction/exportByIds?ids="+this.ids
                }).catch(() => {
                        this.$message({
                        type: 'info',
                        message: '取消导出'
                    });
                });
                }else {
                    this.$message('请选择要导出的数据！');
                }


            }
        }
    })
</script>
</html>